﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B43 RID: 2883
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MJCNJHBMCLM : IMessage<MJCNJHBMCLM>, IMessage, IEquatable<MJCNJHBMCLM>, IDeepCloneable<MJCNJHBMCLM>, IBufferMessage
	{
		// Token: 0x1700245D RID: 9309
		// (get) Token: 0x060080D0 RID: 32976 RVA: 0x00157E5E File Offset: 0x0015605E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MJCNJHBMCLM> Parser
		{
			get
			{
				return MJCNJHBMCLM._parser;
			}
		}

		// Token: 0x1700245E RID: 9310
		// (get) Token: 0x060080D1 RID: 32977 RVA: 0x00157E65 File Offset: 0x00156065
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MJCNJHBMCLMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700245F RID: 9311
		// (get) Token: 0x060080D2 RID: 32978 RVA: 0x00157E77 File Offset: 0x00156077
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MJCNJHBMCLM.Descriptor;
			}
		}

		// Token: 0x060080D3 RID: 32979 RVA: 0x00157E7E File Offset: 0x0015607E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MJCNJHBMCLM()
		{
		}

		// Token: 0x060080D4 RID: 32980 RVA: 0x00157E86 File Offset: 0x00156086
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MJCNJHBMCLM(MJCNJHBMCLM other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060080D5 RID: 32981 RVA: 0x00157E9F File Offset: 0x0015609F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MJCNJHBMCLM Clone()
		{
			return new MJCNJHBMCLM(this);
		}

		// Token: 0x060080D6 RID: 32982 RVA: 0x00157EA7 File Offset: 0x001560A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MJCNJHBMCLM);
		}

		// Token: 0x060080D7 RID: 32983 RVA: 0x00157EB5 File Offset: 0x001560B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MJCNJHBMCLM other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x060080D8 RID: 32984 RVA: 0x00157ED4 File Offset: 0x001560D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060080D9 RID: 32985 RVA: 0x00157EFA File Offset: 0x001560FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060080DA RID: 32986 RVA: 0x00157F02 File Offset: 0x00156102
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060080DB RID: 32987 RVA: 0x00157F0B File Offset: 0x0015610B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060080DC RID: 32988 RVA: 0x00157F24 File Offset: 0x00156124
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060080DD RID: 32989 RVA: 0x00157F4A File Offset: 0x0015614A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MJCNJHBMCLM other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060080DE RID: 32990 RVA: 0x00157F67 File Offset: 0x00156167
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060080DF RID: 32991 RVA: 0x00157F70 File Offset: 0x00156170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400316C RID: 12652
		private static readonly MessageParser<MJCNJHBMCLM> _parser = new MessageParser<MJCNJHBMCLM>(() => new MJCNJHBMCLM());

		// Token: 0x0400316D RID: 12653
		private UnknownFieldSet _unknownFields;
	}
}
